import request from '@/utils/request'
export function listAerationResult(query) {
  return request({
    url: '/ptwn/aerationresult/list',
    method: 'get',
    params: query
  })
}
export function listAerationPort(query) {
  return request({
    url: '/ptwn/aerationresult/aerationreport',
    method: 'get',
    params: query
  })
}
// 查询轨道图详细
export function getTrackMap1robot(query) {
  return request({
    url: '/ptwn/trackmap/getinfomap1',
    method: 'get',
    params: query
  })
}
//查询轨道图详情
export function getMapParamInfo(id) {
  return request({
    url: '/ptwn/trackmap/getMapParamInfo/' + id,
    method: 'get'
  })
}
export function delAerationResult(id) {
  return request({
    url: '/ptwn/aerationresult/remove/' + id,
    method: 'delete'
  })
}
export function getResultVideo(videoname) {
  return request({
    url: '/ptwn/aerationresult/getvideo/' + videoname,
    method: 'get'
  })
}
export function aerationResultReport(query) {
  return request({
    url: '/ptwn/aerationresult/aerationresultreport',
    method: 'get',
    params: query
  })
}
//获取图片
export function getpic(query) {
  return request({
    url: '/ptwn/aerationresult/getresultpic',
    method: 'get',
    params: query
  })
}
//获取视频
export function getvideo(query) {
  return request({
    url: '/ptwn/aerationresult/getresultvideo',
    method: 'get',
    params: query
  })
}
